﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">
  <!--Log-->
  <object id="DebugLog" type="Landpy.CruiseControlNet.Infrastructure.Aop.DependencyInjection.DefaultDebugLog, Landpy.CruiseControlNet.Infrastructure"/>
  <object id="Log4NetLog" type="Landpy.CruiseControlNet.Infrastructure.Aop.DependencyInjection.Log4NetLog, Landpy.CruiseControlNet.Infrastructure">
    <constructor-arg>
      <value>SystemLog</value>
    </constructor-arg>
  </object>
  <!--AOP-->
  <object id="NotThrowExceptionAdvice" type="Spring.Aop.Support.AttributeMatchMethodPointcutAdvisor, Spring.Aop">
    <property name="Advice">
      <object type="Landpy.CruiseControlNet.Infrastructure.Aop.Interceptor.NotThrowExceptionInterceptor, Landpy.CruiseControlNet.Infrastructure" />
    </property>
    <property name="Attribute"
              value="Landpy.CruiseControlNet.Infrastructure.Aop.WrapAttribute.NotThrowExceptionAttribute, Landpy.CruiseControlNet.Infrastructure" />
  </object>

  <object id="LogExceptionAdvice" type="Spring.Aop.Support.AttributeMatchMethodPointcutAdvisor, Spring.Aop">
    <property name="Advice">
      <object type="Landpy.CruiseControlNet.Infrastructure.Aop.Interceptor.LogExceptionInterceptor, Landpy.CruiseControlNet.Infrastructure">
        <property name="Log">
          <ref object="Log4NetLog"></ref>
        </property>
      </object>
    </property>
    <property name="Attribute" value="Landpy.CruiseControlNet.Infrastructure.Aop.WrapAttribute.LogExceptionAttribute, Landpy.CruiseControlNet.Infrastructure" />
  </object>

  <object id="ExceptionMessageBoxAdvice" type="Spring.Aop.Support.AttributeMatchMethodPointcutAdvisor, Spring.Aop">
    <property name="Advice">
      <object type="Landpy.CruiseControlNet.Infrastructure.Aop.Interceptor.ExceptionMessageBoxInterceptor, Landpy.CruiseControlNet.Infrastructure" />
    </property>
    <property name="Attribute"
              value="Landpy.CruiseControlNet.Infrastructure.Aop.WrapAttribute.ExceptionMessageBoxAttribute, Landpy.CruiseControlNet.Infrastructure" />
  </object>
  <!--Domain-->
  <object id="Serializer" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.SerializerModule.Serializer&lt;Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule.CruiseControl&gt;, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="Configuration" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.ConfigurationModule.Configuration, Landpy.CruiseControlNet.DomainLayer">
        <constructor-arg>
          <ref object="Serializer"/>
        </constructor-arg>
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="ProjectRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.ProjectRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="SecurityUserRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.SecurityUserRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="PermissionRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.PermissionRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="PublisherRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.PublisherRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="TaskRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.TaskRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="SubjectRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.SubjectRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="AssemblyRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.AssemblyRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="EmailGroupRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.EmailGroupRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="EmailUserRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.EmailUserRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="TriggerRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.TriggerRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="XslFileRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.XslFileRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>

  <object id="SourceControlRepository" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop">
    <property name="Target">
      <object type="Landpy.CruiseControlNet.DomainLayer.RepositoryModule.SourceControlRepository, Landpy.CruiseControlNet.DomainLayer">
      </object>
    </property>
    <property name="InterceptorNames">
      <list>
        <value>NotThrowExceptionAdvice</value>
        <value>ExceptionMessageBoxAdvice</value>
        <value>LogExceptionAdvice</value>
      </list>
    </property>
  </object>
</objects>